package jee.boot.entity.activiti;

import jee.boot.common.annotation.Column;
import jee.boot.common.annotation.Table;

import java.util.Date;

/**
 * 部署信息表
 * 部署流程定义时需要被持久化保存下来的信息
 */
@Table(name = "act_re_deployment")
public class ActDeployment extends ActDataEntity<ActDeployment> {
    private static final long serialVersionUID = 1L;
    /**
     * 部署包的名称
     */
    @Column(name = "NAME_")
    private String name;
    /**
     * 是否是引擎生成:
     * 0为用户生成
     * 1为Activiti生成
     */
    @Column(name = "CATEGORY_")
    private String category;
    /**
     * 部署时间
     */
    @Column(name = "DEPLOY_TIME_")
    private Date deployTime;

    public ActDeployment() {
    }

    public ActDeployment(String id) {
        super(id);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Date getDeployTime() {
        return deployTime;
    }

    public void setDeployTime(Date deployTime) {
        this.deployTime = deployTime;
    }
}
